package com.woniuxy.classteacher.mapper;

import com.woniuxy.commons.entity.VideoRemark;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 李英勇
 * @date 2020/7/21 - 17:44
 */
@Repository
public interface VideoRemarkMapper {
    public List<VideoRemark> findRemarkByVid(int vid,int page,int limit);
    public long findRemarkCountByVid(int vid);
    //增加评论
    public int addRemark(VideoRemark videoRemark);
    //删除评论
    public int delRemarkByVid(int vid);
}
